package com.rjh.spring.ioc;

import java.math.BigDecimal;
import java.net.URL;

public class Employee {

    private String name;
    private Integer age;
    private BigDecimal salary;
    private URL url;

    private SomeBean2 someBean2;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public BigDecimal getSalary() {
        return salary;
    }

    public void setSalary(BigDecimal salary) {
        this.salary = salary;
    }

    public URL getUrl() {
        return url;
    }

    public void setUrl(URL url) {
        this.url = url;
    }

    public SomeBean2 getSomeBean2() {
        return someBean2;
    }

    public void setSomeBean2(SomeBean2 someBean2) {
        this.someBean2 = someBean2;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", salary=" + salary +
                ", url=" + url +
                ", someBean2=" + someBean2 +
                '}';
    }
}
